package com.wei.czz.common.vo.store;

import com.wei.czz.common.jsr303.group.Submit;
import com.wei.czz.common.jsr303.group.Update;
import com.wei.czz.common.tool.BaseEntity;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * Created by IntelliJ IDEA.
 *
 * @author wyw
 * date: 2023-11-22 17:56:51
 * className: StoreBossVo
 * version: 1.0
 * description:
 */
@Getter
@Setter
public class StoreBossVo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "商店老板主键不能为空", groups = { Update.class })
    private Long id;

    /**
     * 商店主键
     */
    @NotNull(message = "商店主键不能为空", groups = { Submit.class, Update.class })
    private Long storeId;

    /**
     * 名称
     */
    @NotBlank(message = "老板名称不能为空", groups = { Submit.class, Update.class })
    private String name;

    /**
     * 性别[0-女 1-男]
     */
    @NotNull(message = "老板性别不能为空", groups = { Submit.class, Update.class })
    private Integer gender;

    /**
     * 身份证号
     */
    @NotBlank(message = "老板身份证号不能为空", groups = { Submit.class, Update.class })
    private String idCard;

    /**
     * 手机号
     */
    @NotBlank(message = "老板手机号不能为空", groups = { Submit.class, Update.class })
    private String mobile;

    /**
     * 序号
     */
    @NotNull(message = "序号不能为空", groups = { Submit.class, Update.class })
    private Integer sort;

    /**
     * 是否默认账户[0-是 1-否]
     */
    private Integer defaultStatus;

    /**
     * 审核状态[0-审核中 1-审核通过 2-审核拒绝]
     */
    private Integer auditStatus;

}
